home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 10
/
AACD 10.iso
/
AACD
/
Magazine
/
Morphos
/
GCC
/
lib
/
gcc-lib
/
ppc-amigaos
/
2.95.1
/
sys-include
/
powerup
/
ppclib
/
semaphore.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-03-13
|
585b
|
24 lines
#ifndef POWERUP_PPCLIB_SEMAPHORE_H
#define POWERUP_PPCLIB_SEMAPHORE_H
#include <utility/tagitem.h>
#define PPCSEMAPHORETAG_BASE (TAG_USER + 0x25000)
/* Sets the Name for the Semaphore and automaticly adds the Semaphore to
the public List
*/
#define PPCSEMAPHORETAG_NAME (PPCSEMAPHORETAG_BASE+0)
#define PPCSEMAPHORETAG_ERROR (PPCSEMAPHORETAG_BASE+1)
#define PPCSEMAPHOREERROR_OK 0
#define PPCSEMAPHOREERROR_MEMORY 1
#define PPCSEMAPHOREERROR_ALREDYEXISTS 2
#define PPCSEMAPHOREERROR_NOTFOUND 3
#define PPCSEMAPHOREERROR_OBTAINED 4
#define PPCSEMAPHOREERROR_NONAME 5
#endif